package main

import "fmt"

// Author : CSR丶WARRIOR
// Time ： 2020/10/8  22:57
// TOOLS : GoLand
// FILENAME : stringType.go
// STATEMENT: 字符串类型

func main() {
	var name string
	name = "code"
	fmt.Println(len(name))   //4
	fmt.Printf("%s\n", name) //code
	fmt.Printf("%T\n", name) //string

	var a string = "你好"
	fmt.Println(len(a)) //6
}
